package cn.nawang.ebeim.api.service;

import java.util.List;

import cn.nawang.ebeim.api.comm.PageList;
import cn.nawang.ebeim.api.comm.Pages;
import cn.nawang.ebeim.api.domain.PushMessage;
import cn.nawang.ebeim.api.domain.User;

/**
 * @ClassName: PushMessageService
 * @Description: TODO
 * @author fanyb
 * @date Oct 14, 2015 2:41:53 PM
 * @version v1.0
 */
public interface PushMessageService{
  public boolean add(PushMessage pushMessage,User user);
  
  public PageList findPageList(Pages pages);
  
  /**
   * 
   * @author fanyb
   * @Description: 查找大于id的列表
   * @param id
   * @return List<PushMessage> 
   * @date Oct 14, 20154:41:06 PM
   *
   * @修改人 
   * @修改日期
   */
  public List<PushMessage> findMoreThan(int id);
  
  public void delete(int[] ids);
  
  public void update(PushMessage pushMessage);
  
  public PushMessage findOne(int id);
}
